package componsite;

public class Client {
    public static void main(String[] args) {

        OrganizationComponent university = new University("邯郸大学","邯郸大学");

        OrganizationComponent college = new College("计算机学院", "计算机学院");
        college.add(new Department("软件工程","软件工程"));
        university.add(college);

        university.print();




    }
}
